﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Tierless.Framework.Server.Data
{
	/// <summary>
	/// Defines the possible optimistic concurrency modes.
	/// </summary>
	public enum OptimisticConcurrencyMode 
	{
		/// <summary>
		/// Checks based on the primary key column values only.
		/// </summary>
		KeyOnly,

		/// <summary>
		/// Checks based on the value of any modified column values.
		/// </summary>
		ModifiedOnly, 

		/// <summary>
		/// Checks based on the value of all columns
		/// </summary>
		All 
	}
}
